﻿using System.Web;
using System.Web.Optimization;

namespace VietTrips.WebUI
{
    public class BundleConfig
    {
        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.IgnoreList.Clear();

            /*bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
                        "~/Scripts/jquery-ui-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/jquery.unobtrusive*",
                        "~/Scripts/jquery.validate*"));*/

            // Use the development version of Modernizr to develop with and learn from. Then, when you're
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
            /*bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));*/

            bundles.Add(new StyleBundle("~/Content/css").Include("~/Content/site.css"));

            /*bundles.Add(new StyleBundle("~/Content/themes/base/css").Include(
                        "~/Content/themes/base/jquery.ui.core.css",
                        "~/Content/themes/base/jquery.ui.resizable.css",
                        "~/Content/themes/base/jquery.ui.selectable.css",
                        "~/Content/themes/base/jquery.ui.accordion.css",
                        "~/Content/themes/base/jquery.ui.autocomplete.css",
                        "~/Content/themes/base/jquery.ui.button.css",
                        "~/Content/themes/base/jquery.ui.dialog.css",
                        "~/Content/themes/base/jquery.ui.slider.css",
                        "~/Content/themes/base/jquery.ui.tabs.css",
                        "~/Content/themes/base/jquery.ui.datepicker.css",
                        "~/Content/themes/base/jquery.ui.progressbar.css",
                        "~/Content/themes/base/jquery.ui.theme.css"));*/

            /*bundles.Add(new StyleBundle("~/Content/metronic/css").Include(
                        "~/Content/metronic/plugins/font-awesome/css/font-awesome.min.css",
                        "~/Content/metronic/plugins/bootstrap/css/bootstrap.min.css",
                        "~/Content/metronic/plugins/uniform/css/uniform.default.css",
                        "~/Content/metronic/plugins/gritter/css/jquery.gritter.css",
                        "~/Content/metronic/plugins/bootstrap-daterangepicker/daterangepicker-bs3.css",
                        "~/Content/metronic/css/style-metronic.css",
                        "~/Content/metronic/css/style.css",
                        "~/Content/metronic/css/style-responsive.css",
                        "~/Content/metronic/css/components.css",
                        "~/Content/metronic/css/plugins.css",
                        "~/Content/metronic/css/pages/tasks.css",
                        "~/Content/metronic/css/themes/default.css",
                        "~/Content/metronic/css/print.css",
                        "~/Content/metronic/css/custom.css"));*/

            /*@Scripts.Render("~/bundles/metronic")*/
            bundles.Add(new ScriptBundle("~/bundles/metronic").Include(
                        "~/Content/metronic/plugins/jquery-1.10.2.min.js",
                        "~/Content/metronic/plugins/jquery-migrate-1.2.1.min.js",
                        "~/Content/metronic/plugins/jquery-ui/jquery-ui-1.10.3.custom.min.js",
                        "~/Content/metronic/plugins/bootstrap/js/bootstrap.min.js",
                        "~/Content/metronic/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js",
                        "~/Content/metronic/plugins/jquery-slimscroll/jquery.slimscroll.min.js",
                        "~/Content/metronic/plugins/jquery.blockui.min.js",
                        "~/Content/metronic/plugins/jquery.cokie.min.js",
                        "~/Content/metronic/plugins/uniform/jquery.uniform.min.js",
                        "~/Content/metronic/plugins/flot/jquery.flot.min.js",
                        "~/Content/metronic/plugins/flot/jquery.flot.resize.min.js",
                        "~/Content/metronic/plugins/flot/jquery.flot.categories.min.js",
                        "~/Content/metronic/plugins/jquery.pulsate.min.js",
                        "~/Content/metronic/plugins/bootstrap-daterangepicker/moment.min.js",
                        "~/Content/metronic/plugins/bootstrap-daterangepicker/daterangepicker.js",
                        "~/Content/metronic/plugins/gritter/js/jquery.gritter.js",
                        "~/Content/metronic/plugins/jquery.sparkline.min.js",
                        "~/Content/metronic/scripts/core/app.js",
                        "~/Content/metronic/scripts/custom/index.js",
                        "~/Content/metronic/scripts/custom/tasks.js",
                        "~/Scripts/jquery.validate.min.js",
                        "~/Scripts/jquery.validate.unobtrusive.min.js"));



            /* ********************************************************************************************************************
             * JAVASCRIPT METRONIC
             *  <script src="~/Content/metronic/plugins/jquery-1.10.2.min.js" type="text/javascript"></script>
                <script src="~/Content/metronic/plugins/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>
                <!-- IMPORTANT! Load jquery-ui-1.10.3.custom.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->
                <script src="~/Content/metronic/plugins/jquery-ui/jquery-ui-1.10.3.custom.min.js" type="text/javascript"></script>
                <script src="~/Content/metronic/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
                <script src="~/Content/metronic/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js" type="text/javascript"></script>
                <script src="~/Content/metronic/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
                <script src="~/Content/metronic/plugins/jquery.blockui.min.js" type="text/javascript"></script>
                <script src="~/Content/metronic/plugins/jquery.cokie.min.js" type="text/javascript"></script>
                <script src="~/Content/metronic/plugins/uniform/jquery.uniform.min.js" type="text/javascript"></script>
                <!-- END CORE PLUGINS -->
                <!-- BEGIN PAGE LEVEL PLUGINS -->
                <script src="~/Content/metronic/plugins/flot/jquery.flot.min.js" type="text/javascript"></script>
                <script src="~/Content/metronic/plugins/flot/jquery.flot.resize.min.js" type="text/javascript"></script>
                <script src="~/Content/metronic/plugins/flot/jquery.flot.categories.min.js" type="text/javascript"></script>
                <script src="~/Content/metronic/plugins/jquery.pulsate.min.js" type="text/javascript"></script>
                <script src="~/Content/metronic/plugins/bootstrap-daterangepicker/moment.min.js" type="text/javascript"></script>
                <script src="~/Content/metronic/plugins/bootstrap-daterangepicker/daterangepicker.js" type="text/javascript"></script>
                <script src="~/Content/metronic/plugins/gritter/js/jquery.gritter.js" type="text/javascript"></script>
                <!-- IMPORTANT! fullcalendar depends on jquery-ui-1.10.3.custom.min.js for drag & drop support -->
                <script src="~/Content/metronic/plugins/jquery.sparkline.min.js" type="text/javascript"></script>
                <!-- END PAGE LEVEL PLUGINS -->
                <!-- BEGIN PAGE LEVEL SCRIPTS -->
                <script src="~/Content/metronic/scripts/core/app.js" type="text/javascript"></script>
                <script src="~/Content/metronic/scripts/custom/index.js" type="text/javascript"></script>
                <script src="~/Content/metronic/scripts/custom/tasks.js" type="text/javascript"></script>
                <script src="~/Scripts/jquery.validate.min.js"></script>
                <script src="~/Scripts/jquery.validate.unobtrusive.min.js"></script>
             *********************************************************************************************************************/

            /* ********************************************************************************************************************
             * CSS METRONIC
             * 
                <link href="~/Content/metronic/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
                <link href="~/Content/metronic/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
                <link href="~/Content/metronic/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css" />
                <!-- END GLOBAL MANDATORY STYLES -->
                <!-- BEGIN PAGE LEVEL PLUGIN STYLES -->
                <link href="~/Content/metronic/plugins/gritter/css/jquery.gritter.css" rel="stylesheet" type="text/css" />
                <link href="~/Content/metronic/plugins/bootstrap-daterangepicker/daterangepicker-bs3.css" rel="stylesheet" type="text/css" />
                <!-- END PAGE LEVEL PLUGIN STYLES -->
                <!-- BEGIN THEME STYLES -->
                <link href="~/Content/metronic/css/style-metronic.css" rel="stylesheet" type="text/css" />
                <link href="~/Content/metronic/css/style.css" rel="stylesheet" type="text/css" />
                <link href="~/Content/metronic/css/style-responsive.css" rel="stylesheet" type="text/css" />
                <link href="~/Content/metronic/css/components.css" rel="stylesheet" />
                <link href="~/Content/metronic/css/plugins.css" rel="stylesheet" type="text/css" />
                <link href="~/Content/metronic/css/pages/tasks.css" rel="stylesheet" type="text/css" />
                <link id="themeColor" href="~/Content/metronic/css/themes/default.css" rel="stylesheet" type="text/css" />
                <link href="~/Content/metronic/css/print.css" rel="stylesheet" type="text/css" media="print" />
                <link href="~/Content/metronic/css/custom.css" rel="stylesheet" type="text/css" />
                <link href="~/Content/Site.css" rel="stylesheet" />
             *********************************************************************************************************************/

            /*@Scripts.Render("~/bundles/frontend")*/
            bundles.Add(new ScriptBundle("~/bundles/frontend").Include(
                        "~/Content/frontend/js/jquery.v2.0.3.js",
                        "~/Content/frontend/bootstrap/js/bootstrap.min.js",
                        "~/Content/frontend/js/jquery-ui.min.js",
                        "~/Content/frontend/js/plugins.js",
                        "~/Content/frontend/js/sliders.js",
                        "~/Content/frontend/js/custom.js"));

            /* ********************************************************************************************************************
             * JAVASCRIPT TRAVEL
             *  <script type="text/javascript" src="~/Content/frontend/js/jquery.v2.0.3.js"></script>
                <script type="text/javascript" src="~/Content/frontend/bootstrap/js/bootstrap.min.js"></script>
                <script type="text/javascript" src="~/Content/frontend/js/jquery-ui.min.js"></script>
                <script type="text/javascript" src="~/Content/frontend/js/plugins.js"></script>
                <script type="text/javascript" src="~/Content/frontend/js/sliders.js"></script>
                <script type="text/javascript" src="~/Content/frontend/js/custom.js"></script>
             *********************************************************************************************************************/

            /*@Scripts.Render("~/bundles/signair")*/
            #if DEBUG
            bundles.Add(new ScriptBundle("~/bundles/signair").Include(
                        "~/Scripts/jquery.signalR-2.0.3.min.js", 
                        "~/Scripts/knockout-2.2.0.debug.js"));
            #endif

            #if !DEBUG
            bundles.Add(new ScriptBundle("~/bundles/signair").Include(
                        "~/Scripts/jquery.signalR-2.0.3.min.js",
                        "~/Scripts/knockout-2.2.0.js"));
            #endif
        }
    }
}